<h2>Ubah Data</h2>

<?php
	echo $form->create('Latihan', array('inputDefaults' =>array('label'=>false, 'div'=>false)));
?>

<table border="1" cellpadding="0" cellspacing="0">
	<tr>
		<td>Nama</td>
		<td>:</td>
		<td><?php echo $form->input('nama', array ('size'=>30));?></td>
	</tr>
	
	<tr>
		<td valign="top">Alamat</td>
		<td valign="top">:</td>
		<td><?php
			echo $form->hidden('id');
			echo $form->textarea('alamat', array ('cols'=>40,'rows'=>4));
		?></td>
	</tr>
	
	<tr>
		<td>Tanggal</td>
		<td>:</td>
		<td><?php echo $form->input('tanggal');?></td>
	</tr>
	
	<tr>
		<td colspan="2"></td>
		<td><?php echo $form->end('Save');?></td>
	</tr>
</table>